package com.haredot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.haredot.entity.Notify;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【tb_notify】的数据库操作Mapper
* @createDate 2023-09-03 14:12:29
* @Entity com.haredot.entity.Notify
*/
@Mapper
public interface NotifyMapper extends BaseMapper<Notify> {

    Long findLetterUnReadCount(Long userId);

    int batchUpdateReadState(List<Long> collect);
}




